import styled from 'styled-components'

const homeBg = require('../../assets/img/home_bg.png')

export const Container = styled.div`
    height: 100vh;
    width: 100%;
    background: url(${homeBg});
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    .back-home{
        display: none;
        position: fixed;
        top: 50px;
        left: 20px;
        @media (max-width: 1200px) {
            display: block;
        }
    }
`

export const Header = styled.div`
    margin-top: 100px;
    .logo {
        margin: 16px;
        font-weight: bold;
        font-size: 28px;
        display: flex;
        color: rgba(0, 0, 0, 0.85);
        align-items: center;
        justify-content: center;
        img{
            width: 40px;
            height: 40px;
            margin-right: 16px;
        }
    }
    .web-dec{
        text-align: center;
        margin-top: 12px;
        margin-bottom: 40px;
        color: rgba(0, 0, 0, 0.45);
        font-size: 14px;
    }
`

export const Content = styled.div`
    flex: 1;
    width: 300px;
    .login-form {
        max-width: 300px;
    }
    .login-form-forgot {
        float: right;
    }
    .ant-col-rtl .login-form-forgot {
        float: left;
    }
    .login-form-button {
        width: 100%;
    }
    .login-register{
        float: right;
        span{
            color: #1890ff;
            cursor: pointer;
        }
    }
    .login-guest{
        float: left;
        text-decoration: underline;
        span{
            color: #999;
            cursor: pointer;
        }
    }
`

export const Footer = styled.div`
    padding: 24px 50px;
    color: rgba(0, 0, 0, 0.65);
    font-size: 14px;
    text-align: center;
`